package com.atguigu.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 前台用户模块：登录注册功能
 * 微信支付功能
 */
@ComponentScan({"com.atguigu"})
@SpringBootApplication
@MapperScan("com.atguigu.educenter.mapper")
@EnableDiscoveryClient //服务注册 Nacos
public class UcenterApp {
	public static void main(String[] args) {
		SpringApplication.run(UcenterApp.class, args);
	}
}
